package com.addplus.townmall.server.api.model.town;

import com.baomidou.mybatisplus.annotation.TableName;
import com.addplus.townmall.server.api.model.base.BaseRestModel;
import com.baomidou.mybatisplus.annotation.TableField;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商家店铺管理员
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-08-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("shop_manager")
public class ShopManager extends BaseRestModel {

    private static final long serialVersionUID = 1L;

    /**
     * 商家店铺主键id
     */
    @TableField("store_id")
    private Integer storeId;
    /**
     * 账号
     */
    private String account;
    /**
     * 用户名称
     */
    @TableField("nick_name")
    private String nickName;
    /**
     * 密码
     */
    private String password;
    /**
     * 密码加盐
     */
    @TableField("password_salt")
    private String passwordSalt;
    /**
     * 联系电话
     */
    private String phone;
    /**
     * 是否删除(0:否 1:是)
     */
    @TableField("is_deleted")
    private Integer isDeleted;


}
